package Jogo;

import java.awt.Color;

//cria quantas pecas eu quero, com determinadas caracteristicas.

public class Pieces{
	private int pieceWeight=0;
	private Color pieceColor=Color.white;
	private int pieceSpotX=0;
	private int pieceSpotY=0;
	private String pieceName;
	private int team;
	
	public Pieces(){
		super();
	}
	
	 public Pieces(Color color, int weight, int col, int line, String name, int team) {
		  this.pieceColor = color;
		  this.pieceWeight = weight;
		  this.pieceSpotX =  col;
		  this.pieceSpotY = line;
		  this.pieceName = name;
		  this.team = team;
		 }
	
	public int getTeam(){
		return team;
	}
	
	public int getWeight(){
		return pieceWeight;
	}
	public void setWeight(int weight){
		pieceWeight = weight;
	}
	
	public Color getColor(){
		return pieceColor;
	}
	public void setColor(Color color){
		pieceColor = color;
	}
	
	public int getSpotX(){
		return pieceSpotX;
	}
	public void setSpotX(int lin){
		pieceSpotX = lin;
	}
	public int getSpotY(){
		return pieceSpotY;
	}
	public void setSpotY(int col){
		pieceSpotY = col;
	}
	public String getName(){
		return pieceName;
	}
	public void setName(String name){
		pieceName = name;
	}
	
	
}
